//  @ Project : SSU Robot Simulator
//  @ File Name : Error.h
//  @ Date : 4/3/2011
//  @ Author : Andrew Holbrook
//
//

#pragma once

#if !defined(_ERROR_H)
#define _ERROR_H

#include <string>

using std::string;

namespace SSURoboSim
{
	namespace ErrorLog
	{
		class Error
		{
		public:
			const static int DEFAULT;
			const static int SOLVED;

			Error(string message, int errorId=-1);
			~Error();

			int getErrorId() { return errorId_; }
			int getStatus() { return status_; }
			string getMessage() { return message_; }

			void setErrorId(int errorId) { errorId_ = errorId; }
			void setStatus(int status);

		private:
			int errorId_;
			int status_;
			string message_;
		};
	}
}

#endif  //_ERROR_H
